@mixin ppx {
    display: flex;
    margin-bottom: 5px;
    span:nth-child(1){
        display: block;
        margin: auto 0;
        width: 5px;
        height: 5px;
        background-color: #5f6d8e;

        margin-right: 5px;
    }
    span:nth-child(2){
        font-size: 14px;
    }
}
@mixin img {
    img{
        width: 1098px;
        height: 400px;
        margin: 0 auto;
        margin-bottom: 10px;
      }
}
.box{
    width: 100px;
    height: 100px;
}
.msg-box{
    width: 100%;
    height: 600px;
    background-color: white;
    .msg{
        width: 1098px;
        height: 600px;
        display: flex;
        margin: 0 auto;
        
        .loupe{
            width: 500px;
            height: 600px;
            margin-right: 48px;
            // background-color:skyblue;
            box-sizing: border-box;
            padding-top: 40px;
            position: relative;
            .shoutime{
                width: 400px;
                height: 400px;
                margin: 0 auto;
                // background-color: black;
                margin-bottom: 40px;
                
               div:nth-of-type(1){
                   position: relative;
                img{
                    width: 400px;
                    height: 400px;
                }
                .move{
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100px;
                    height: 100px;
                    background-color: gray;
                    opacity: 0.3;
                    display: none;

                }
               }
                .prve{
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    left: 0;
                    top: 35%;
                    // margin-left: 20px;
                    text-align: center;
                    line-height: 40px;
                }
                .next{
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    right: 0;
                    top: 35%;
                    margin-right: 20px;
                    text-align: center;
                    line-height: 40px;
                }
                .pos{
                    width: 400px;
                    height: 400px;
                    position: absolute;
                    right: -351px;
                    top: 40px;
                    z-index: 3;
                    display: none;
                    // position: relative;
                    // background-color: skyblue;
                    div{
                        width: 400px;
                    height: 400px;
                    overflow: hidden;
                        position: relative;
                        img{
                            width: 1600px;
                            height: 1600px;
                            position: absolute;
                            top: 0;
                            left: 0;
                        }
                    }
                    // background-color: white;
                    // background: url("../img/random1.png") no-repeat;
                    // background-image: url("");
                    // background-size: 400%;
                    // background-position-x:-404px ;
                    // background-position-y:-1092px ;
                    // img{
                    //     width: 400px;
                    //     height: 400px;
                    // }
                    
                }
            }
            .switch{
                width: 360px;
                height: 70px;
                margin: 0 auto;
                // background-color: skyblue;
                ul{
                    width: 360px;
                    height: 100px;
                    display: flex;
                    flex-direction: row;
                    li{
                        width: 62px;
                        height: 62px;
                        margin: 5px;
                        border: 1px solid white;

                        box-sizing: border-box;
                        a{
                            display: block;
                            width: 60px;
                            height: 60px;
                            margin: 0 auto;
                            box-sizing: border-box;
                            
                            box-sizing: border-box;
                            
                            img{
                                width: 60px;
                            height: 60px;
                            cursor: pointer;
                            }
                        }
                    }
                    .active {
                        border-color: red;
                    }
                }
            }
        }
        .msgData{
            width: 500px;
            height: 600px;
            padding-top: 70px;
            // background-color: gold;
            .now{
                width: 80px;
                height: 20px;
                text-align: center;
                line-height: 20px;
                font-size: 10px;
                font-weight: 300;
                color: white;
                background-color: #cdbc7a;
                margin-bottom: 30px;
            }
            .box1{
                overflow: hidden;
                margin-bottom: 30px;
                
            }
            .goodsName{
                font-size: 17px;
                color: #171727;
                letter-spacing: 3.2px;
                float: left;
               font-weight: 300;
            }
            .price{
                font-size: 17px;
                color: #171727;
                font-weight: 300;
                float: right;
                // letter-spacing: 3.2px;
            }
            .line{
                height: 1px;
                width: 100%;
                border-bottom: 1px solid #dddddd;
                margin-bottom: 50px;
            }
            .cs{
                    font-size: 15px;
                    font-weight: 300;
                    color: #171727;
                    .size{
                        margin-left: 30px;
                    }
                    margin-bottom: 10px;
                
            }
            .choice{
                display: flex;
                position: relative;
                margin-bottom: 30px;
                a{
                    display: block;
                    margin-right: 55px;
                }
                a:nth-child(1){
                    width: 30px;
                    height: 30px;
                    border:1px solid black;
                    border-radius: 50%;
                    text-align: center;
                    padding-top: 3px;
                    padding-left: 3px;
                    span{
                        display: block;
                        box-sizing: border-box;
                        width: 22px;
                        height: 22px;
                        border:1px solid #e5ae87;
                        border-radius: 50%;
                        background-color: #e5ae87;
                        

                    }
                }
                a:nth-child(2){
                    width: 60px;
                    height: 40px;
                    text-align: center;
                    line-height: 40px;
                    background-color: black;
                    position: absolute;
                    left: 85px;
                    top: -5px;
                    span{
                        color: white;
                        display: block;
                        // width: ;
                    }
                }
                a:nth-child(3){
                    letter-spacing: 3px;
                    position: absolute;
                    left: 165px;
                    top: 0px;
                    span{
                        font-size: 16px;
                        color: #000000;
                    }

                }

            }
            .card{
               
                a{
                    font-size: 14px;
                    color: black;
                    font-weight: 300;
                    
                }
                margin-bottom: 30px;
            }
            .purchase{
                overflow: hidden;
                width: 500px;
                    height: 50px;
                    margin-bottom: 30px;
                a{
                    display: block;
                    width: 500px;
                    height: 50px;
                    text-align: center;
                    line-height: 50px;
                    background-color: #00081c;
                    color: #cdbc7a;
                    margin-bottom: 15px;
                    
                }
                &>:hover{
                    background-color: #273751;
                }
                
               
            }
            .note{
                p:nth-child(1){
                  @include ppx()
                }
                p:nth-child(2){
                    @include ppx()
                  }
                  p:nth-child(3){
                    @include ppx()
                  }
                
            }

            
        }
    }
}

.goodsMsg-box{
    width: 100%;
    background-color: white;
    .goodsMsg{
        width: 1098px;
        margin: 0 auto;
       
        .option{
            width: 1098px;
            height: 30px;
            // background-color: skyblue;
            margin-bottom: 20px;
            ul{
                width: 1098px;
                height: 30px;
                display: flex;
                li{
                    width: 25%;
                    height: 30px;
                    text-align: center;
                    line-height: 30px;
                    letter-spacing: 3px;
                    font-size: 14px;
                    font-weight: 300;
                    box-sizing: border-box;
                   
                }
                li:nth-child(1){
                    border-bottom: 3px solid #00081c;
                }
            }
        }
        
       
        .showone{
            width: 1098px;
            height: 500px;
            margin: 0 auto;
            margin-bottom: 10px;
        }
        .showt{
            position: relative;
            @include img();
            .move{
                
                width: 300px;
                height: 300px;
                position: absolute;
                top: 25%;
                right: 15%;
                
                p:nth-child(1){
                    font-size: 26px;
                    font-weight: 300;
                }
                p:nth-child(2){
                    font-weight: 400;
                    font-size: 14px;
                    letter-spacing: 1.5px;
                }
                p:nth-child(3){
                    font-weight: 400;
                    font-size: 14px;
                    letter-spacing: 1.5px;
                    margin-left: 8px;

                }
            }
        }
        .showthree{
            position: relative;
            @include img();
            .move{
                text-align: center;
                width: 300px;
                height: 300px;
                position: absolute;
                top: 25%;
                left:  15%;
                
                p:nth-child(1){
                    font-size: 26px;
                    font-weight: 300;
                }
                p:nth-child(2){
                    font-weight: 400;
                    font-size: 14px;
                    letter-spacing: 1.5px;
                }
                p:nth-child(3){
                    font-weight: 400;
                    font-size: 14px;
                    letter-spacing: 1.5px;
                    margin-left: 8px;

                }
            }
        }
        .showf{
            position: relative;
            @include img();
            .move{
                text-align: center;
                width: 300px;
                height: 300px;
                position: absolute;
                top: 25%;
                right: 15%;
                
                p:nth-child(1){
                    font-size: 26px;
                    font-weight: 300;
                }
                p:nth-child(2){
                    font-weight: 400;
                    font-size: 14px;
                    letter-spacing: 1.5px;
                }
                p:nth-child(3){
                    font-weight: 400;
                    font-size: 14px;
                    letter-spacing: 1.5px;
                    margin-left: 8px;

                }
            }
        }
    }
}
